package cn.tedu.medicalpath.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum StatusCode {
    SUCCESS(2001,"操作成功!"),

    FAILED(4001,"操作失败!"),
    PASSWORD_ERROR(4002, "用户名或密码错误!"),
    USERNAME_ERROR(4003, "用户名或密码错误!"),
    VALIDATE_FAILED(4004, "验证失败!"),
    FILE_NAME_NOT_EXIST(4005, "检查结果图片名称不存在"),
    ALIPAY_FAILED(4006, "调用支付宝支付失败!");

    private final Integer code;
    private final String message;
}
